@import "~@/styles/mixin.less";
@import "~@/styles/var.less";
.message{
    .self-center();
    z-index: 999;
    box-shadow:-2px -2px 5px rgba(0,0,0,0.5);
    border-radius: 5px;
    padding:5px 30px;
    line-height: 2;
    display: flex;
    align-items: center;
    color:#fff;

    
    transition:.3s;
    opacity: 0;
    transform:translate(-50%,-50%) translateY(15px);
 
    &-info{
        background-color:@primary;
    }
    &-success{
        background-color: @success;
    }
    &-warn{
        background-color: @warn;
    }
    &-error{
        background-color: @danger;
    }
}
.icon{
   margin-right:7px; 
}


